/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.entity.secretasset;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fuyao.cloud.common.core.model.BaseEntity;
import com.fuyao.cloud.common.data.mybatis.SearchCondition;
import com.fuyao.cloud.common.data.mybatis.SearchOp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 涉密设备信息
 *
 * @author lyhills
 * @date 2023-04-12 13:59:45
 */
@Data
@TableName("fy_secret_asset")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "涉密设备信息")
public class SecretAsset extends BaseEntity<SecretAsset> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一编码（用于关联附件）
     */
    @ApiModelProperty(value="唯一编码（用于关联附件）")
    private String unid;

    /**
     * 设备编号
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="设备编号")
    private String diviceNumber;

    /**
     * 资产编号
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="资产编号")
    private String assetNumber;

    /**
     * 名 称
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="名 称")
    private String name;

    /**
     * 品牌型号
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="品牌型号")
    private String model;

    /**
     * 密级
     */
    @SearchCondition()
    @ApiModelProperty(value="密级")
    private String level;

    /**
     * 用途
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="用途")
    private String assetUse;

    /**
     * 所属部门ID
     */
    @ApiModelProperty(value="所属部门ID")
    private Long belongtoId;

    /**
     * 所属部门编码
     */
    @ApiModelProperty(value="所属部门编码")
    private String belongtoCode;

    /**
     * 所属部门名称
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="所属部门名称")
    private String belongtoName;

    /**
     * 所属部门全名称
     */
    @ApiModelProperty(value="所属部门全名称")
    private String belongtoFullcode;

    /**
     * 所属部门全编码
     */
    @ApiModelProperty(value="所属部门全编码")
    private String belongtoFullname;

    /**
     * 放置地点ID
     */
    @ApiModelProperty(value="放置地点ID")
    private Long locationId;

    /**
     * 放置地点名称
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="放置地点名称")
    private String locationName;

    /**
     * 责任人名称
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="责任人名称")
    private String principalName;

    /**
     * 责任人ID
     */
    @ApiModelProperty(value="责任人ID")
    private Long principalId;

    /**
     * 责任人所属部门ID
     */
    @ApiModelProperty(value="责任人所属部门ID")
    private Long principalOuId;

    /**
     * 责任人所属部门全编码
     */
    @ApiModelProperty(value="责任人所属部门全编码")
    private String principalOuFullcode;

    /**
     * 责任人所属部门全名称
     */
    @ApiModelProperty(value="责任人所属部门全名称")
    private String principalOuFullname;

    /**
     * 操作系统版本
     */
    @ApiModelProperty(value="操作系统版本")
    private String systemVersion;

    /**
     * 操作系统安装时间
     */
    @ApiModelProperty(value="操作系统安装时间")
    private String systemInstallDate;

    /**
     * 硬盘序列号
     */
    @ApiModelProperty(value="硬盘序列号")
    private String diskSn;

    /**
     * 设备序列号
     */
    @ApiModelProperty(value="设备序列号")
    private String assetSn;

    /**
     * IP地址
     */
    @ApiModelProperty(value="IP地址")
    private String ip;

    /**
     * MAC地址
     */
    @ApiModelProperty(value="MAC地址")
    private String mac;

    /**
     * 启用时间
     */
    @ApiModelProperty(value="启用时间")
    private String enableDate;

    /**
     * 使用情况
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="使用情况")
    private String useWay;

    /**
     * 所属类型
     */
    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="所属类型")
    private String type;

    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remarks;

}
